home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / dev / gcc / ixemul_src.lha / ixemul-41.0 / library / tmp_pipe.h < prev    next >
C/C++ Source or Header  |  1994-08-19  |  490b  |  15 lines

  1. /* information for the temporary implementation of pipes.
  2.    PIPE: has the big disadvantage that it blocks in the most unpleasent
  3.    situations, and doesn't send SIGPIPE to processes that write on
  4.    readerless pipes. Unacceptable for this library ;-)) */
  5.  
  6. #define PIPE_SIZE    5120
  7.  
  8. struct tmp_pipe {
  9.   u_short    tp_flags;        /* see below */
  10.   u_char    tp_buffer[PIPE_SIZE];
  11.   u_char    *tp_reader, *tp_writer;    /* buffer pointers.
  12.                        when tp_reader==tp_writer, no data
  13.                        is available */
  14. };
  15.